/**
 * 
 */
package com.ychs.corejava.lesson5;

/**
 * switch的测试
 * @author LENOVO
 * @version 1.0
 */
public class TestSwitch {
	public static void main(String[] args) {
		String addr = "titabc";
		switch (addr) {
		case "china":
			System.out.println("china");
			break;
		case "tit":
			System.out.println("tit");
			break;
		default:
			System.out.println("other");
			break;
		}
	}

}
